/*
 * An XML document type.
 * Localname: UseCaseMap
 * Namespace: http:///org/isistan/flabot/coremodel.ecore
 * Java type: org.isistan.flabot.coremodelEcore.UseCaseMapDocument
 *
 * Automatically generated - do not modify.
 */
package org.isistan.flabot.coremodelEcore.impl;
/**
 * A document containing one UseCaseMap(@http:///org/isistan/flabot/coremodel.ecore) element.
 *
 * This is a complex type.
 */
public class UseCaseMapDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.isistan.flabot.coremodelEcore.UseCaseMapDocument
{
    private static final long serialVersionUID = 1L;
    
    public UseCaseMapDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName USECASEMAP$0 = 
        new javax.xml.namespace.QName("http:///org/isistan/flabot/coremodel.ecore", "UseCaseMap");
    
    
    /**
     * Gets the "UseCaseMap" element
     */
    public org.isistan.flabot.coremodelEcore.UseCaseMap getUseCaseMap()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.isistan.flabot.coremodelEcore.UseCaseMap target = null;
            target = (org.isistan.flabot.coremodelEcore.UseCaseMap)get_store().find_element_user(USECASEMAP$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "UseCaseMap" element
     */
    public void setUseCaseMap(org.isistan.flabot.coremodelEcore.UseCaseMap useCaseMap)
    {
        generatedSetterHelperImpl(useCaseMap, USECASEMAP$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "UseCaseMap" element
     */
    public org.isistan.flabot.coremodelEcore.UseCaseMap addNewUseCaseMap()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.isistan.flabot.coremodelEcore.UseCaseMap target = null;
            target = (org.isistan.flabot.coremodelEcore.UseCaseMap)get_store().add_element_user(USECASEMAP$0);
            return target;
        }
    }
}
